package com.library.entity;

import java.math.BigDecimal;
import java.sql.Date;
import java.time.LocalDate;

/**
 * 借阅记录
 */
public class Borrowrec {

    private String sno; //学号
    private String barCode; //图书条码号
    private java.sql.Date borDate; //借书日期
    private java.sql.Date retDate; //应还日期
    private java.sql.Date realRetDate; //实际还书日期
    private String retStatus; //还书状态
    private Integer ovdDays; //超期天数
    private BigDecimal fineMoney; //罚款金额
    private String fineStatus; //罚款状态
    private Integer paySerNum; //付款流水号
    private Integer serNum; //流水号

    public Borrowrec() {
    }

    public Borrowrec(String sno, String barCode, java.sql.Date borDate, java.sql.Date retDate, java.sql.Date realRetDate, String retStatus, Integer ovdDays, BigDecimal fineMoney, String fineStatus, Integer paySerNum, Integer serNum) {
        this.sno = sno;
        this.barCode = barCode;
        this.borDate = borDate;
        this.retDate = retDate;
        this.realRetDate = realRetDate;
        this.retStatus = retStatus;
        this.ovdDays = ovdDays;
        this.fineMoney = fineMoney;
        this.fineStatus = fineStatus;
        this.paySerNum = paySerNum;
        this.serNum = serNum;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public java.sql.Date getBorDate() {
        return borDate;
    }

    public void setBorDate(java.sql.Date borDate) {
        this.borDate = borDate;
    }

    public java.sql.Date getRetDate() {
        return retDate;
    }

    public void setRetDate(java.sql.Date retDate) {
        this.retDate = retDate;
    }

    public java.sql.Date getRealRetDate() {
        return realRetDate;
    }

    public void setRealRetDate(Date realRetDate) {
        this.realRetDate = realRetDate;
    }

    public String getRetStatus() {
        return retStatus;
    }

    public void setRetStatus(String retStatus) {
        this.retStatus = retStatus;
    }

    public Integer getOvdDays() {
        return ovdDays;
    }

    public void setOvdDays(Integer ovdDays) {
        this.ovdDays = ovdDays;
    }

    public BigDecimal getFineMoney() {
        return fineMoney;
    }

    public void setFineMoney(BigDecimal fineMoney) {
        this.fineMoney = fineMoney;
    }

    public String getFineStatus() {
        return fineStatus;
    }

    public void setFineStatus(String fineStatus) {
        this.fineStatus = fineStatus;
    }

    public Integer getPaySerNum() {
        return paySerNum;
    }

    public void setPaySerNum(Integer paySerNum) {
        this.paySerNum = paySerNum;
    }

    public Integer getSerNum() {
        return serNum;
    }

    public void setSerNum(Integer serNum) {
        this.serNum = serNum;
    }

    @Override
    public String toString() {
        return "Borrowrec{" +
                "sno='" + sno + '\'' +
                ", barCode='" + barCode + '\'' +
                ", borDate=" + borDate +
                ", retDate=" + retDate +
                ", realRetDate=" + realRetDate +
                ", retStatus='" + retStatus + '\'' +
                ", ovdDays=" + ovdDays +
                ", fineMoney=" + fineMoney +
                ", fineStatus='" + fineStatus + '\'' +
                ", paySerNum=" + paySerNum +
                ", serNum=" + serNum +
                '}';
    }
}
